package com.bdmc.device.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.bdmc.common.core.domain.BaseEntity;

import org.springframework.format.annotation.DateTimeFormat;;
import java.time.LocalDateTime;
import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * gps设备在线记录对象 dev_online_record
 *
 * @author bdmc
 * @date 2022-03-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("dev_online_record")
public class DevOnlineRecord extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 
     */
    @TableId(value = "online_record_id")
    private Long onlineRecordId;
    /**
     * 
     */
    private Long deviceId;
    /**
     * 
     */
    private String devicePhoneNum;
    /**
     * 
     */
    private LocalDateTime startTime;
    /**
     * 
     */
    private LocalDateTime endTime;
    /**
     * 
     */
    private Integer onlineState;

}
